﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ForGVN
{
    public partial class Form8 : Form
    {
        public Form8()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            textBox1.Text = null;
            textBox2.Text = null;
            textBox3.Text = null;
            textBox1.Focus();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Class2.Insert_pl_rate(textBox1.Text, textBox2.Text, textBox3.Text);
            textBox1.Text = null;
            textBox2.Text = null;
            textBox3.Text = null;
            textBox1.Focus();
            MessageBox.Show("Đã bổ sung vào CSDL");
        }
    }
}
